import BaseLayout from '../../layouts/BaseLayout.vue';


export default [
  {
    path: '/',
    redirect: '/main',
    component: BaseLayout,
    meta: { title: '管理' },
    children: [
      //主页
      {
        path: '/main',
        component: () => import('../../views/index/index.vue'),
      },
      {
        path: '/user',
        component: () => import('../../views/manager/user.vue'),
        meta: { title: '用户管理' },
      },
      {
        path: '/manager',
        component: () => import('../../views/manager/manager.vue'),
        meta: { title: '管理员管理' },
      }
    ]
  }
]